import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../view/Home'
Vue.use(VueRouter)
const routes=[
    {
        path: '/',
        name: 'home',
        component: Home
    },
    { path: '*',
        redirect:'/'
    }
]
const router = new VueRouter({
    routes
});
export default router


